<?xml version="1.0" encoding="utf-8"?>
<Content type="xform" name="EditContent">
	<model>
		<instance>
			<tblContent>
				<nContentKey/>
				<nContentPrimaryId/>
				<nVersion/>
				<cContentForiegnRef/>
				<cContentName/>
				<cContentSchemaName>FlashMovie</cContentSchemaName>
				<cContentXmlBrief>
					<Content>
						<object type="application/x-shockwave-flash" width="" height="" data="" id="" title="">
							<param name="movie" value=""/>
							<param name="quality" value="high"/>
							<param name="bgcolor" value="#000000"/>
							<param name="ver" value="7"/>
							<param name="menu" value="false"/>
							<param name="wmode" value="opaque"/>
							<img src="" class="FlashAlternative"/>
						</object>
					</Content>
				</cContentXmlBrief>
				<cContentXmlDetail/>
				<nAuditId/>
				<nAuditKey/>
				<dPublishDate/>
				<dExpireDate/>
				<dInsertDate/>
				<nInsertDirId/>
				<dUpdateDate/>
				<nUpdateDirId/>
				<nStatus>1</nStatus>
				<cDescription/>
			</tblContent>
		</instance>
		<submission id="EditContent" action="" method="post" event="return form_check(this)"/>
		<bind id="cContentName" nodeset="tblContent/cContentName" required="true()" type="string"/>
		<bind id="cContentTitle" nodeset="tblContent/cContentXmlBrief/Content/object/@title" required="true()" type="string"/>
		<bind id="cContentMovie" nodeset="tblContent/cContentXmlBrief/Content/object/@data" required="true()" type="string"/>
		<bind id="cContentMovie" nodeset="tblContent/cContentXmlBrief/Content/object/param[@name='movie']/@value" required="true()" type="string"/>
		<bind id="cContentWidth" nodeset="tblContent/cContentXmlBrief/Content/object/@width" required="true()" type="string"/>
		<bind id="cContentHeight" nodeset="tblContent/cContentXmlBrief/Content/object/@height" required="true()" type="string"/>
		<bind id="cBGColor" nodeset="tblContent/cContentXmlBrief/Content/object/param[@name='bgcolor']/@value" required="true()" type="string"/>
		<bind id="cContentQuality" nodeset="tblContent/cContentXmlBrief/Content/object/param[@name='quality']/@value" required="true()" type="string"/>
		<bind id="cContentImage" nodeset="tblContent/cContentXmlBrief/Content/object/img[@class='FlashAlternative']" required="false()" type="xml-replace"/>
		<bind id="dPublishDate" nodeset="tblContent/dPublishDate" required="false()" type="string"/>
		<bind id="dExpireDate" nodeset="tblContent/dExpireDate" required="false()" type="string"/>
		<bind id="nStatus" nodeset="tblContent/nStatus" required="true()" type="string"/>
		<bind id="cDescription" nodeset="tblContent/cDescription" required="false()" type="string"/>
		<bind id="bCascade" nodeset="tblContent/bCascade" required="false()" type="string"/>
	</model>
	<group ref="EditContent" class="2col">
		<label>Edit Flash Movie</label>
		<group>
			<group>
				<input bind="nContentKey" class="hidden">
					<label>ContentId</label>
				</input>
				<label>Settings</label>
				<input bind="cContentName" class="required short">
					<label>Location</label>
				</input>
				<input bind="dPublishDate" class="calendar short">
					<label>Publish Date</label>
				</input>
				<input bind="dExpireDate" class="calendar short">
					<label>Expire Date</label>
				</input>
				<select1 bind="nStatus" appearance="full" class="required vshort">
					<label>Status</label>
					<item>
						<label>Live</label>
						<value>1</value>
					</item>
					<item>
						<label>Hidden</label>
						<value>0</value>
					</item>
				</select1>
				<select bind="bCascade" appearance="full">
					<label>Cascade to Child Pages</label>
					<item>
						<label/>
						<value>true</value>
					</item>
				</select>
				<input bind="cDescription" class="short">
					<label>Change Notes</label>
				</input>
			</group>
		</group>
		<group>
			<group>
				<label>Flash Movie Values</label>
        <input bind="cContentTitle" class="required short">
          <label>Title</label>
        </input>
				<input bind="cContentMovie" class="required pickMedia">
					<label>Flash Movie</label>
				</input>
				<input bind="cContentWidth" class="required short">
					<label>Width</label>
				</input>
				<input bind="cContentHeight" class="required short">
					<label>Height</label>
				</input>
					<input bind="cBGColor" class="required colorPicker">
					<label>Background Colour</label>
				</input>
				<select1 bind="cContentQuality" appearance="full" class="required vshort">
					<label>Quality</label>
					<item>
						<label>high</label>
						<value>high</value>
					</item>
					<item>
						<label>low</label>
						<value>low</value>
					</item>
				</select1>
				<input bind="cContentImage" class="short pickImage">
					<label>Alternative Image</label>
				</input>
			</group>
			<submit submission="" ref="ewSubmit" class="principle">
				<label>Save Flash Movie</label>
			</submit>
		</group>
	</group>
</Content>
